package com.example.demo.entity;

public class ReturnStatus<T> {
    private T data;
    private int status_code;

    public void setData(T data) {
        this.data = data;
    }


    public void setStatus_code(int status_code) {
        this.status_code = status_code;
    }

    public T getData() {
        return data;
    }

    public int getStatus_code() {
        return status_code;
    }

    public ReturnStatus (int _code, T _data) {
        this.status_code = _code;
        this.data = _data;
    }

}
